home *** CD-ROM | disk | FTP | other *** search
- #if !defined(ALIGN_H)
- #define ALIGN_H
-
- /* data type whose address can be the starting address of any
- other data type */
- typedef short int ALIGN_TYPE;
-
-
- /* number of elements in an array of ALIGN_TYPE large enough to
- hold a data structure of a given size */
- #define N_ALIGN_UNITS(SZ) \
- (((SZ) + sizeof(ALIGN_TYPE) - 1) / sizeof(ALIGN_TYPE))
-
- #endif
-